package com.ms.service.module.analysisgroup.db.model;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

import com.ms.service.module.analysisgroup.bin.GameOperateAlertInfoUtil.ActionType;
import com.ms.service.module.analysisgroup.bin.GameOperateAlertInfoUtil.OperateType;

/**
 * 遊戲操作警示紀錄
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = GameOperateAlertLogModel.modelName)
public class GameOperateAlertLogModel extends BasicAlertLogModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4059696725070661758L;
	
	public static final String modelName= "game_operate_alert_log";
	
	/**
	 * 玩家GUID
	 */
	private String playerGUID;
	
	/**
	 * 操作類型
	 */
	private OperateType operateType;
	
	/**
	 * 行為類型
	 */
	private ActionType actionType;
	
	/**
	 * 細節
	 */
	private String detail;
	
	/**
	 * 註釋
	 */
	private String description;

	
	public String getPlayerGUID() {
		return playerGUID;
	}

	public void setPlayerGUID(String playerGUID) {
		this.playerGUID = playerGUID;
	}

	@Enumerated(EnumType.STRING)
	public OperateType getOperateType() {
		return operateType;
	}

	public void setOperateType(OperateType operateType) {
		this.operateType = operateType;
	}

	@Enumerated(EnumType.STRING)
	public ActionType getActionType() {
		return actionType;
	}

	public void setActionType(ActionType actionType) {
		this.actionType = actionType;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}
